<?php /* Smarty version 2.6.6, created on 2013-10-25 15:49:37
         compiled from login.tpl */ ?>
<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2><?php echo $this->_tpl_vars['lang224']; ?>
</h2>
		<div id="public_wrap_sm">
        	<form id="login-form" name="login-form" action="<?php echo $this->_tpl_vars['baseurl']; ?>
/login.php" method="post">
            	<?php if ($this->_tpl_vars['error'] != ""): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['showmessage'] != ""): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_message.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <?php endif; ?>
            <p>
              <label for="user_login"><?php echo $this->_tpl_vars['lang163']; ?>
</label>
              	<input name="lusername" id="lusername" type="text" value="" size="30" />
            </p>
            <p class="add_top">
              	<label for="user_password"><?php echo $this->_tpl_vars['lang225']; ?>
</label>
        		<input type="password" name="lpassword" value="" size="30" id="lpassword" /><br/>
            </p>              
            <p>
            	<input class="check" type="checkbox" value="yes" name="remember"> <?php echo $this->_tpl_vars['lang788']; ?>

            </p>
            
            <p><br /><button class="login_btn" type="submit" onclick="document.getElementById('login_type').value = 'site';"><?php echo $this->_tpl_vars['lang224']; ?>
</button> OR <a class="fb_login" href="<?php echo $this->_tpl_vars['baseurl']; ?>
/fbklogin.php"><img src="images/fbk-login.png" alt="Login with Facebook" title="Login with Facebook" onclick="document.getElementById('login_type').value = 'facebook';"></a></p>
			<input type="hidden" name="authenticate" value="<?php echo $this->_tpl_vars['lang224']; ?>
" />
			<input type="hidden" name="login_type" id="login_type" value="" />
            <input type="hidden" name="redirect" value="<?php echo $_REQUEST['redirect']; ?>
" />
            
            <p><br /><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/resetpassword.php"><?php echo $this->_tpl_vars['lang252']; ?>
</a></p>
            <p><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/forgot.php"><?php echo $this->_tpl_vars['lang253']; ?>
</a></p>
            
          </form>
		</div>      
        <div class="clear"></div>
	</div>
</div>